package com.bzy.blade_auth;

import cn.dev33.satoken.SaManager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.bzy.bladeauthapi"})
@EnableWebMvc
public class BladeAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(BladeAuthApplication.class, args);
        System.out.println("启动成功：Sa-Token配置如下:" + SaManager.getConfig());
    }
}
